<% if current_user %>
<p id="notice"><%= notice %></p>

<p>
  <b>Name:</b>
  <%= @restaurant.name %>
</p>

<p>
  <b>Addr1:</b>
  <%= @restaurant.addr1 %>
</p>

<p>
  <b>Addr2:</b>
  <%= @restaurant.addr2 %>
</p>

<p>
  <b>City:</b>
  <%= @restaurant.city %>
</p>

<p>
  <b>State:</b>
  <%= @restaurant.state %>
</p>

<p>
  <b>Zip:</b>
  <%= @restaurant.zip %>
</p>

<p>
  <b>Phone:</b>
  <%= @restaurant.phone %>
</p>


<%if current_user.isadmin %>
<%= link_to 'Edit', edit_restaurant_path(@restaurant) %> |
<% end %>
<%= link_to 'Back', :back %> | 
<%= link_to 'Home', root_url %>
<% else %>

<% end %>
